package com.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ExpertExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public ExpertExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andEnoIsNull() {
            addCriterion("eno is null");
            return (Criteria) this;
        }

        public Criteria andEnoIsNotNull() {
            addCriterion("eno is not null");
            return (Criteria) this;
        }

        public Criteria andEnoEqualTo(String value) {
            addCriterion("eno =", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoNotEqualTo(String value) {
            addCriterion("eno <>", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoGreaterThan(String value) {
            addCriterion("eno >", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoGreaterThanOrEqualTo(String value) {
            addCriterion("eno >=", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoLessThan(String value) {
            addCriterion("eno <", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoLessThanOrEqualTo(String value) {
            addCriterion("eno <=", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoLike(String value) {
            addCriterion("eno like", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoNotLike(String value) {
            addCriterion("eno not like", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoIn(List<String> values) {
            addCriterion("eno in", values, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoNotIn(List<String> values) {
            addCriterion("eno not in", values, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoBetween(String value1, String value2) {
            addCriterion("eno between", value1, value2, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoNotBetween(String value1, String value2) {
            addCriterion("eno not between", value1, value2, "eno");
            return (Criteria) this;
        }

        public Criteria andEnameIsNull() {
            addCriterion("ename is null");
            return (Criteria) this;
        }

        public Criteria andEnameIsNotNull() {
            addCriterion("ename is not null");
            return (Criteria) this;
        }

        public Criteria andEnameEqualTo(String value) {
            addCriterion("ename =", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotEqualTo(String value) {
            addCriterion("ename <>", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameGreaterThan(String value) {
            addCriterion("ename >", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameGreaterThanOrEqualTo(String value) {
            addCriterion("ename >=", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameLessThan(String value) {
            addCriterion("ename <", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameLessThanOrEqualTo(String value) {
            addCriterion("ename <=", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameLike(String value) {
            addCriterion("ename like", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotLike(String value) {
            addCriterion("ename not like", value, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameIn(List<String> values) {
            addCriterion("ename in", values, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotIn(List<String> values) {
            addCriterion("ename not in", values, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameBetween(String value1, String value2) {
            addCriterion("ename between", value1, value2, "ename");
            return (Criteria) this;
        }

        public Criteria andEnameNotBetween(String value1, String value2) {
            addCriterion("ename not between", value1, value2, "ename");
            return (Criteria) this;
        }

        public Criteria andEdescIsNull() {
            addCriterion("edesc is null");
            return (Criteria) this;
        }

        public Criteria andEdescIsNotNull() {
            addCriterion("edesc is not null");
            return (Criteria) this;
        }

        public Criteria andEdescEqualTo(String value) {
            addCriterion("edesc =", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescNotEqualTo(String value) {
            addCriterion("edesc <>", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescGreaterThan(String value) {
            addCriterion("edesc >", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescGreaterThanOrEqualTo(String value) {
            addCriterion("edesc >=", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescLessThan(String value) {
            addCriterion("edesc <", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescLessThanOrEqualTo(String value) {
            addCriterion("edesc <=", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescLike(String value) {
            addCriterion("edesc like", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescNotLike(String value) {
            addCriterion("edesc not like", value, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescIn(List<String> values) {
            addCriterion("edesc in", values, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescNotIn(List<String> values) {
            addCriterion("edesc not in", values, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescBetween(String value1, String value2) {
            addCriterion("edesc between", value1, value2, "edesc");
            return (Criteria) this;
        }

        public Criteria andEdescNotBetween(String value1, String value2) {
            addCriterion("edesc not between", value1, value2, "edesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescIsNull() {
            addCriterion("ecurrdesc is null");
            return (Criteria) this;
        }

        public Criteria andEcurrdescIsNotNull() {
            addCriterion("ecurrdesc is not null");
            return (Criteria) this;
        }

        public Criteria andEcurrdescEqualTo(String value) {
            addCriterion("ecurrdesc =", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescNotEqualTo(String value) {
            addCriterion("ecurrdesc <>", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescGreaterThan(String value) {
            addCriterion("ecurrdesc >", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescGreaterThanOrEqualTo(String value) {
            addCriterion("ecurrdesc >=", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescLessThan(String value) {
            addCriterion("ecurrdesc <", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescLessThanOrEqualTo(String value) {
            addCriterion("ecurrdesc <=", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescLike(String value) {
            addCriterion("ecurrdesc like", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescNotLike(String value) {
            addCriterion("ecurrdesc not like", value, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescIn(List<String> values) {
            addCriterion("ecurrdesc in", values, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescNotIn(List<String> values) {
            addCriterion("ecurrdesc not in", values, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescBetween(String value1, String value2) {
            addCriterion("ecurrdesc between", value1, value2, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEcurrdescNotBetween(String value1, String value2) {
            addCriterion("ecurrdesc not between", value1, value2, "ecurrdesc");
            return (Criteria) this;
        }

        public Criteria andEbirthdayIsNull() {
            addCriterion("ebirthday is null");
            return (Criteria) this;
        }

        public Criteria andEbirthdayIsNotNull() {
            addCriterion("ebirthday is not null");
            return (Criteria) this;
        }

        public Criteria andEbirthdayEqualTo(Date value) {
            addCriterionForJDBCDate("ebirthday =", value, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayNotEqualTo(Date value) {
            addCriterionForJDBCDate("ebirthday <>", value, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayGreaterThan(Date value) {
            addCriterionForJDBCDate("ebirthday >", value, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ebirthday >=", value, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayLessThan(Date value) {
            addCriterionForJDBCDate("ebirthday <", value, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ebirthday <=", value, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayIn(List<Date> values) {
            addCriterionForJDBCDate("ebirthday in", values, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayNotIn(List<Date> values) {
            addCriterionForJDBCDate("ebirthday not in", values, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ebirthday between", value1, value2, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEbirthdayNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ebirthday not between", value1, value2, "ebirthday");
            return (Criteria) this;
        }

        public Criteria andEsexIsNull() {
            addCriterion("esex is null");
            return (Criteria) this;
        }

        public Criteria andEsexIsNotNull() {
            addCriterion("esex is not null");
            return (Criteria) this;
        }

        public Criteria andEsexEqualTo(String value) {
            addCriterion("esex =", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexNotEqualTo(String value) {
            addCriterion("esex <>", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexGreaterThan(String value) {
            addCriterion("esex >", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexGreaterThanOrEqualTo(String value) {
            addCriterion("esex >=", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexLessThan(String value) {
            addCriterion("esex <", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexLessThanOrEqualTo(String value) {
            addCriterion("esex <=", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexLike(String value) {
            addCriterion("esex like", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexNotLike(String value) {
            addCriterion("esex not like", value, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexIn(List<String> values) {
            addCriterion("esex in", values, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexNotIn(List<String> values) {
            addCriterion("esex not in", values, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexBetween(String value1, String value2) {
            addCriterion("esex between", value1, value2, "esex");
            return (Criteria) this;
        }

        public Criteria andEsexNotBetween(String value1, String value2) {
            addCriterion("esex not between", value1, value2, "esex");
            return (Criteria) this;
        }

        public Criteria andEbalanceIsNull() {
            addCriterion("ebalance is null");
            return (Criteria) this;
        }

        public Criteria andEbalanceIsNotNull() {
            addCriterion("ebalance is not null");
            return (Criteria) this;
        }

        public Criteria andEbalanceEqualTo(Integer value) {
            addCriterion("ebalance =", value, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceNotEqualTo(Integer value) {
            addCriterion("ebalance <>", value, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceGreaterThan(Integer value) {
            addCriterion("ebalance >", value, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceGreaterThanOrEqualTo(Integer value) {
            addCriterion("ebalance >=", value, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceLessThan(Integer value) {
            addCriterion("ebalance <", value, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceLessThanOrEqualTo(Integer value) {
            addCriterion("ebalance <=", value, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceIn(List<Integer> values) {
            addCriterion("ebalance in", values, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceNotIn(List<Integer> values) {
            addCriterion("ebalance not in", values, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceBetween(Integer value1, Integer value2) {
            addCriterion("ebalance between", value1, value2, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEbalanceNotBetween(Integer value1, Integer value2) {
            addCriterion("ebalance not between", value1, value2, "ebalance");
            return (Criteria) this;
        }

        public Criteria andEheadimgIsNull() {
            addCriterion("eheadimg is null");
            return (Criteria) this;
        }

        public Criteria andEheadimgIsNotNull() {
            addCriterion("eheadimg is not null");
            return (Criteria) this;
        }

        public Criteria andEheadimgEqualTo(String value) {
            addCriterion("eheadimg =", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgNotEqualTo(String value) {
            addCriterion("eheadimg <>", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgGreaterThan(String value) {
            addCriterion("eheadimg >", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgGreaterThanOrEqualTo(String value) {
            addCriterion("eheadimg >=", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgLessThan(String value) {
            addCriterion("eheadimg <", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgLessThanOrEqualTo(String value) {
            addCriterion("eheadimg <=", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgLike(String value) {
            addCriterion("eheadimg like", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgNotLike(String value) {
            addCriterion("eheadimg not like", value, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgIn(List<String> values) {
            addCriterion("eheadimg in", values, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgNotIn(List<String> values) {
            addCriterion("eheadimg not in", values, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgBetween(String value1, String value2) {
            addCriterion("eheadimg between", value1, value2, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEheadimgNotBetween(String value1, String value2) {
            addCriterion("eheadimg not between", value1, value2, "eheadimg");
            return (Criteria) this;
        }

        public Criteria andEpwdIsNull() {
            addCriterion("epwd is null");
            return (Criteria) this;
        }

        public Criteria andEpwdIsNotNull() {
            addCriterion("epwd is not null");
            return (Criteria) this;
        }

        public Criteria andEpwdEqualTo(String value) {
            addCriterion("epwd =", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdNotEqualTo(String value) {
            addCriterion("epwd <>", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdGreaterThan(String value) {
            addCriterion("epwd >", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdGreaterThanOrEqualTo(String value) {
            addCriterion("epwd >=", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdLessThan(String value) {
            addCriterion("epwd <", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdLessThanOrEqualTo(String value) {
            addCriterion("epwd <=", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdLike(String value) {
            addCriterion("epwd like", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdNotLike(String value) {
            addCriterion("epwd not like", value, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdIn(List<String> values) {
            addCriterion("epwd in", values, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdNotIn(List<String> values) {
            addCriterion("epwd not in", values, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdBetween(String value1, String value2) {
            addCriterion("epwd between", value1, value2, "epwd");
            return (Criteria) this;
        }

        public Criteria andEpwdNotBetween(String value1, String value2) {
            addCriterion("epwd not between", value1, value2, "epwd");
            return (Criteria) this;
        }

        public Criteria andEemailIsNull() {
            addCriterion("eemail is null");
            return (Criteria) this;
        }

        public Criteria andEemailIsNotNull() {
            addCriterion("eemail is not null");
            return (Criteria) this;
        }

        public Criteria andEemailEqualTo(String value) {
            addCriterion("eemail =", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailNotEqualTo(String value) {
            addCriterion("eemail <>", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailGreaterThan(String value) {
            addCriterion("eemail >", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailGreaterThanOrEqualTo(String value) {
            addCriterion("eemail >=", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailLessThan(String value) {
            addCriterion("eemail <", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailLessThanOrEqualTo(String value) {
            addCriterion("eemail <=", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailLike(String value) {
            addCriterion("eemail like", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailNotLike(String value) {
            addCriterion("eemail not like", value, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailIn(List<String> values) {
            addCriterion("eemail in", values, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailNotIn(List<String> values) {
            addCriterion("eemail not in", values, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailBetween(String value1, String value2) {
            addCriterion("eemail between", value1, value2, "eemail");
            return (Criteria) this;
        }

        public Criteria andEemailNotBetween(String value1, String value2) {
            addCriterion("eemail not between", value1, value2, "eemail");
            return (Criteria) this;
        }

        public Criteria andEphoneIsNull() {
            addCriterion("ephone is null");
            return (Criteria) this;
        }

        public Criteria andEphoneIsNotNull() {
            addCriterion("ephone is not null");
            return (Criteria) this;
        }

        public Criteria andEphoneEqualTo(String value) {
            addCriterion("ephone =", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneNotEqualTo(String value) {
            addCriterion("ephone <>", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneGreaterThan(String value) {
            addCriterion("ephone >", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneGreaterThanOrEqualTo(String value) {
            addCriterion("ephone >=", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneLessThan(String value) {
            addCriterion("ephone <", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneLessThanOrEqualTo(String value) {
            addCriterion("ephone <=", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneLike(String value) {
            addCriterion("ephone like", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneNotLike(String value) {
            addCriterion("ephone not like", value, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneIn(List<String> values) {
            addCriterion("ephone in", values, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneNotIn(List<String> values) {
            addCriterion("ephone not in", values, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneBetween(String value1, String value2) {
            addCriterion("ephone between", value1, value2, "ephone");
            return (Criteria) this;
        }

        public Criteria andEphoneNotBetween(String value1, String value2) {
            addCriterion("ephone not between", value1, value2, "ephone");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}